// app.js

import { initCurrentLocation, initProvincesAndCities,getCurrentLocation} from './utils/location'
App({
 onLaunch:function(){
  //  wx.cloud.init({
  //    env:"moment-9gl01f415086331e" 
  //  })
   if(!wx.cloud){
     console.error('請使用2.2.3以上云能力');
   }else{
    wx.cloud.init({
      env:"moment-9gl01f415086331e",
      traceUser:true
    })
   }
   
initCurrentLocation()
initProvincesAndCities()
getCurrentLocation()
this.globalData = {}
 }

})
